package com.kejy.entity;

import lombok.Data;

import java.util.Date;

@Data
public class Auction {
    private Integer auctionId;          //  拍卖编号id
    private String auctionName;         //  拍卖名称
    private Double auctionStartPrice;   //  起拍价
    private Double auctionUpset;        //  底价
    private Date auctionStartTime;      //  拍卖开始时间
    private Date auctionEndTime;        //  拍卖结束时间
    private String auctionPic;          //  拍卖图片
    private String auctionPicType;      //  图片类型
    private String auctionDesc;         //  拍卖描述

    public Auction() {
    }

    public Auction(String auctionName, double auctionStartPrice, double auctionUpset,
                   Date auctionStartTime, Date auctionEndTime, String auctionPic, String auctionPicType, String auctionDesc) {
        this.auctionName = auctionName;
        this.auctionStartPrice = auctionStartPrice;
        this.auctionUpset = auctionUpset;
        this.auctionStartTime = auctionStartTime;
        this.auctionEndTime = auctionEndTime;
        this.auctionPic = auctionPic;
        this.auctionPicType = auctionPicType;
        this.auctionDesc = auctionDesc;
    }

    public Auction(Integer auctionId, String auctionName, double auctionStartPrice, double auctionUpset,
                   Date auctionStartTime, Date auctionEndTime, String auctionPic, String auctionPicType, String auctionDesc) {
        this.auctionId = auctionId;
        this.auctionName = auctionName;
        this.auctionStartPrice = auctionStartPrice;
        this.auctionUpset = auctionUpset;
        this.auctionStartTime = auctionStartTime;
        this.auctionEndTime = auctionEndTime;
        this.auctionPic = auctionPic;
        this.auctionPicType = auctionPicType;
        this.auctionDesc = auctionDesc;
    }


}
